<%= render 'shared/error_messages' %>

<%= f.hidden_field @traceability_action, value: current_user.id %>

<p>
	<%= f.label :name %></br>
	<%= f.text_field :name %>
</p>

<p>
	<%= f.label :description %></br>
	<%= f.text_field :description %>
</p>

<p>
	<%= f.label :order_position %></br>
	<%= f.text_field :order_position %>
</p>

<p>
	<%= f.label :parent %></br>
	<%= f.collection_select :parent_id, Category.all, :id, :name, 
			{ prompt: t('admin.category.fields.parent.prompt'), include_blank: true } %>
</p>